package thread.pool.exception;

public class DivTask implements Runnable {

    private int a;
    private int b;
    public DivTask(int a, int b) {
        this.a = a;
        this.b = b;
    }

    @Override
    public void run() {
        double res = a / b;
        System.out.println(res);
    }
}
